Saving optimized images There are several ways to save an optimized image for use on the Web: HTML and Images You can generate all files required to use your image as a Web page. This includes an HTML file and separate image files for the slices in the source image. The HTML file includes code for any Web effects--such as hypertext links, image maps, rollovers, and animations--in the document. The image files use the format and options specified in the optimization setting. Images only You can save your image with the format and options specified in the optimization setting. If the source image contains multiple slices, each slice is saved as a separate file. HTML only You can save the HTML code, but not the image data, for your image. In ImageReady, you can also create an HTML file using the Copy HTML command. This command lets you copy the HTML code for an optimized image to the Clipboard, and paste the HTML code into an HTML file. If you subsequently make changes to the source image, you can use the Update HTML command to update the HTML file. When saving an optimized image with slices, you can choose to save all slices, or only the selected slices. To save an optimized image: 1 (Photoshop) Choose File > Save for Web. 2 Select a view and apply optimization settings as described in Optimizing images. 3 Do one of the following: 4 Type a filename, and choose a location for the resulting file or files. 5 Select a Save As Type option: 6 To set preferences for saving image files and HTML files, click Output Settings. (See Setting output options.) 7 (ImageReady) Select Include GoLive Code to reformat HTML and JavaScript code so that rollovers will be fully editable in Adobe GoLive. Code is reformatted in the style used by GoLive (and may create a larger HTML file).
8 Choose an option for slices from the pop-up menu: Note: You must select the desired slices before starting this procedure. 9 Click Save. To copy HTML code to the Clipboard (ImageReady): Choose Edit > Copy HTML Code, and choose an option for copying code from the submenu: ImageReady generates and formats HTML code based on settings in the Output Options dialog box. Be sure to specify HTML options, such as whether to use tables or cascading style sheets, before you copy and paste HTML code. (See Setting HTML output options.) To paste the ImageReady HTML code into an HTML document, open the HTML document in the destination application and choose Edit > Paste. To update HTML code for an image (ImageReady): 1 Choose File > Update HTML. 2 Select the HTML file into which you pasted HTML code for the image. 3 Select Save Images to save the image file when you update the HTML code for the image. 4 Click Save. Optimizing Images for the Web > Saving optimized images |